package com.yiduo.outpost.core.model.exception;

import com.yiduo.outpost.core.model.result.ResultCodeEnum;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * Basic restful exception class.
 */
@ResponseStatus(HttpStatus.INTERNAL_SERVER_ERROR)
public class WorkWechatException extends RestException {
    public WorkWechatException(String message) {
        super(ResultCodeEnum.RestException.getCode(), message);
    }
}
